﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Lonewolf.Entity
{
    public class ArticleInfo : BaseEntity
    {
        /// <summary>
        /// 文章标题
        /// </summary>
        [MaxLength(200)]
        public string ArcTitle { get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        [MaxLength(50)]
        public string ArcAuthor { get; set; }
        /// <summary>
        /// 首次发布时间
        /// </summary>
        [MaxLength(50)]
        public DateTime? ArcFirstTime { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        [MaxLength(50)]
        public DateTime? ArcLastTime { get; set; }
        /// <summary>
        /// 文章来源
        /// </summary>
        [MaxLength(50)]
        public string ArcFromWhere { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        [MaxLength(200)]
        public string ArcDescription { get; set; }
        /// <summary>
        /// 关键词
        /// </summary>
        [MaxLength(200)]
        public string ArcKeyword { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        [MaxLength(128)]
        public string ArcType { get; set; }
        /// <summary>
        /// 阅读数
        /// </summary>
        [MaxLength(20)]
        public int? ArcReadNum { get; set; }
        /// <summary>
        /// 封面路径
        /// </summary>
        [MaxLength(200)]
        public string ArcCoverUrl { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public bool? ArcIsUse { get; set; }
        /// <summary>
        /// 内容
        /// </summary>
        public string ArcContent { get; set; }
    }
}
